import VueRouter from 'vue-router'

import HomebarContainer from './components/tablebar/HomebarContainer.vue'
import MemberContainer from './components/tablebar/MemberContainer.vue'
import ShopCarContainer from './components/tablebar/ShopCarContainer.vue'
import SearchContainer from './components/tablebar/SearchContainer.vue'


var router = new VueRouter({

    routes:[
        { path: '/home', component:HomebarContainer },
        { path: '/member', component:MemberContainer },
        { path: '/shopcar', component:ShopCarContainer },
        { path: '/search', component:SearchContainer },
        { path: '/', redirect:'/home'}

    ],
    linkActiveClass:'mui-active'

})

export default router